An Execution Mechanism for Combining Query Packs and Once-Transformations
نویسندگان
چکیده
In Inductive Logic Programming (ILP), several techniques have been introduced to improve the efficiency of query execution. One such technique is query pack execution. A set of queries with a common prefix, as it is generated by the refinement operator of a typical ILP system, can be executed faster after it is converted into a tree structure called a query pack. On the other hand, query transformations improve the efficiency of executing a single query by transforming it into a different form that is more efficient to execute. Combining query packs with query transformations is difficult because a transformation may have a negative effect on the structure of the pack. The once-transformation is an important query transformation, and can improve the efficiency of query execution by several orders of magnitude. In this work, we extend query pack execution in such a way that it is able to handle queries produced by the oncetransformation. We do this in the context of ilProlog, a high performance Prolog system with specific extensions for supporting ILP systems. We evaluate our approach on both artificial domains and real world ILP applications. An Execution Mechanism for Combining Query Packs and Once-Transformations Remko Tronçon Henk Vandecasteele Jan Struyf Bart Demoen Gerda Janssens {remko,henkv,jan,bmd,gerda}@cs.kuleuven.ac.be Dept. of Computer Science, K.U. Leuven, Belgium Abstract In Inductive Logic Programming (ILP), several techniques have been introduced to improve the efficiency of query execution. One such technique is query pack execution. A set of queries with a common prefix, as it is generated by the refinement operator of a typical ILP system, can be executed faster after it is converted into a tree structure called a query pack. On the other hand, query transformations improve the efficiency of executing a single query by transforming it into a different form that is more efficient to execute. Combining query packs with query transformations is difficult because a transformation may have a negative effect on the structure of the pack. The once-transformation is an important query transformation, and can improve the efficiency of query execution by several orders of magnitude. In this work, we extend query pack execution in such a way that it is able to handle queries produced by the once-transformation. We do this in the context of ilProlog, a high performance Prolog system with specific extensions for supporting ILP systems. We evaluate our approach on both artificial domains and real world ILP applications.In Inductive Logic Programming (ILP), several techniques have been introduced to improve the efficiency of query execution. One such technique is query pack execution. A set of queries with a common prefix, as it is generated by the refinement operator of a typical ILP system, can be executed faster after it is converted into a tree structure called a query pack. On the other hand, query transformations improve the efficiency of executing a single query by transforming it into a different form that is more efficient to execute. Combining query packs with query transformations is difficult because a transformation may have a negative effect on the structure of the pack. The once-transformation is an important query transformation, and can improve the efficiency of query execution by several orders of magnitude. In this work, we extend query pack execution in such a way that it is able to handle queries produced by the once-transformation. We do this in the context of ilProlog, a high performance Prolog system with specific extensions for supporting ILP systems. We evaluate our approach on both artificial domains and real world ILP applications.
منابع مشابه
Query Optimization: Combining Query Packs and the Once-Transformation
In Inductive Logic Programming (ILP), several techniques have been introduced to improve the efficiency of query execution. One such technique is query pack execution. A set of queries with a common prefix, as it is generated by the refinement operator of a typical ILP system, can be executed faster after it is converted into a tree structure called a query pack. Query transformations, on the o...
متن کاملImproving the Efficiency of Inductive Logic Programming Through the Use of Query Packs
Inductive logic programming, or relational learning, is a powerful paradigm for machine learning or data mining. However, in order for ILP to become practically useful, the eÆciency of ILP systems must improve substantially. To this end, the notion of a query pack is introduced: it structures sets of similar queries. Furthermore, a mechanism is described for executing such query packs. A comple...
متن کاملILP : - Just Trie It
Despite the considerable success of Inductive Logic Programming, deployed ILP systems still have efficiency problems when applied to complex problems. Several techniques have been proposed to address the efficiency issue. Such proposals include query transformations, query packs, lazy evaluation and parallel execution of ILP systems, to mention just a few. We propose a novel technique to improv...
متن کاملExecuting Query Packs in ILP
Inductive logic programming systems usually send large numbers of queries to a database. The lattice structure from which these queries are typically selected causes many of these queries to be highly similar. As a consequence, independent execution of all queries may involve a lot of redundant computation. We propose a mechanism for executing a hierarchically structured set of queries (a \quer...
متن کاملControl of an Extensible Query Optimizer: A Planning-Based Approach
III this paper we address the problem of controlling the execution of a query optimizer. We describe a control for the optimization process that is based on planning. The controller described here is a goal-directed planner that intermingles planning with the execution of query transformations, and uses execution results to direct further planning of optimizer processing. We describe this contr...
متن کامل